package com.blb.entity;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author lvtian
 * @date 2023/1/4 19:05
 */
public class Log {
    private Integer id;
    private Integer goodId;
    private LocalDateTime sendTime;
    private LocalDateTime receTime;
    private Integer amount;
    private Integer sendAddressId;
    private Integer receAddressId;

    public Log(Integer id, Integer goodId, LocalDateTime sendTime, LocalDateTime receTime, Integer amount, Integer sendAddressId, Integer receAddressId) {
        this.id = id;
        this.goodId = goodId;
        this.sendTime = sendTime;
        this.receTime = receTime;
        this.amount = amount;
        this.sendAddressId = sendAddressId;
        this.receAddressId = receAddressId;
    }

    public Log() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public LocalDateTime getSendTime() {
        return sendTime;
    }

    public void setSendTime(LocalDateTime sendTime) {
        this.sendTime = sendTime;
    }

    public LocalDateTime getReceTime() {
        return receTime;
    }

    public void setReceTime(LocalDateTime receTime) {
        this.receTime = receTime;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getSendAddressId() {
        return sendAddressId;
    }

    public void setSendAddressId(Integer sendAddressId) {
        this.sendAddressId = sendAddressId;
    }

    public Integer getReceAddressId() {
        return receAddressId;
    }

    public void setReceAddressId(Integer receAddressId) {
        this.receAddressId = receAddressId;
    }

    @Override
    public String toString() {
        return "Log{" +
                "id=" + id +
                ", goodId=" + goodId +
                ", sendTime=" + sendTime +
                ", receTime=" + receTime +
                ", amount=" + amount +
                ", sendAddressId=" + sendAddressId +
                ", receAddressId=" + receAddressId +
                '}';
    }
}
